<template>
  <div id="app">
    <div class="head-nav">
      <navlink class="navlink" :titleShow="titleShow"></navlink>
    </div>
    <div class="body">
      <router-view />
    </div>
    <div class="bg-zf-color">
      <zfooter></zfooter>
    </div>
  </div>
</template>
<script>
import navlink from "@/components/NavLink.vue";
import zfooter from "@/components/ZFooter.vue";

export default {
  name: "",
  components: { navlink, zfooter },
  data() {
    return {
      titleShow: "none",
      params: {
        username: 1,
        password: 1,
      },
    };
  },
  methods: {
    getIndexPage(val) {
      this.pageIndex = val;
    },

  },
  mounted() {

  },

};
</script>
<style lang="less">
* {
  margin: 0%;
  padding: 0%;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  // background: rgba(219, 228, 246, 0.3);
  background: #fbfbfb;
  @apply bg-blue-50;

  .head-nav {
    width: 100%;
    top: 0%;
    position: fixed;
    // background: #fff;
    z-index: 999;
    @apply bg-white;

    .navlink {
    }
  }
  .body{
    min-height: 80vh;
  }
}

.el-loading-mask {
  display: flex;
  position: absolute !important;

  .el-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    top:10%;
  }
}
</style>
